---
category: Array
created: '2020-04-19'
title: Find the minimum item of an array
updated: '2021-10-13'
---

**JavaScript version**

```js min.js
const min = (arr) => Math.min(...arr);
```

**TypeScript version**

```ts min.ts
const min = (arr: number[]): number => Math.min(...arr);
```
